﻿<Window x:Class="PSE.Tools.Cryptographer.View.CryptographerWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Criptografia de Dados" Height="300" MinHeight="300" Width="400" MinWidth="400" Background="LightGray">
    <Grid>
        <Grid.RowDefinitions>

            <RowDefinition Height="26*" MinHeight="26" MaxHeight="26"></RowDefinition>
            <RowDefinition Height="89*"></RowDefinition>
            <RowDefinition Height="26*" MinHeight="26" MaxHeight="26"></RowDefinition>
            <RowDefinition Height="89*"></RowDefinition>
            <RowDefinition Height="32*" MinHeight="32" MaxHeight="32"></RowDefinition>
        </Grid.RowDefinitions>

        <Label Grid.Row="0" Content="Dado a ser criptografado" ></Label>
        <StackPanel HorizontalAlignment="Right" Grid.Row="0" Orientation="Horizontal" x:Name="stkCryptoMode" Visibility="Collapsed">
            <Label Content="Algoritmo:" ></Label>
            <ComboBox  Width="100" Height="22" x:Name="cboCryptoMode">
                <ComboBox.Items>
                    <ComboBoxItem Name="DES" Content="DES"></ComboBoxItem>
                    <ComboBoxItem Name="RSA" Content="RSA"></ComboBoxItem>
                    <ComboBoxItem Name="Rijndael" Content="Rijndael"></ComboBoxItem>
                </ComboBox.Items>
            </ComboBox>
        </StackPanel>

        <TextBox x:Name="txtOrigem" Margin="2,2,2,2" Grid.Row="1" Text="" BorderThickness="2"></TextBox>
        <Label Grid.Row="2" Content="Dado criptografado"></Label>
        <TextBox x:Name="txtDestino" Margin="2,2,2,2" Grid.Row="3" Text="" IsReadOnly="True" BorderThickness="2"></TextBox>
        <Button x:Name="btnCriptografar" Margin="0,2,5,3" Grid.Row="4" Width="100" Height="26" HorizontalAlignment="Right" Content="Cryptografar" Click="btnCriptografar_Click"></Button>
    </Grid>
</Window>
